import {Service, util} from "adajs";

class CoursenetworkService extends Service {
    defaultData() {
        return {
            links: [
                {name: "国家老年开放大学", link: "http://www.lndx.edu.cn/", image: "a"},
                {name: "老年开放大学网络教学平台", link: "http://lndx.fanya.chaoxing.com/portal", image: "b"}
            ]
        };
    }

    onupdate(current, data) {
        return util.extend(current, data);
    }
}

export default CoursenetworkService;